%%%-------------------------------------------------------------------
%%% @author Administrator
%%% @copyright (C) 2021, <COMPANY>
%%% @doc
%%% @end
%%%-------------------------------------------------------------------
-module(server_app).

-behaviour(application).

-export([start/2, stop/1]).

start(_StartType, _StartArgs) ->
    [NodeNameStr] = init:get_plain_arguments(),
    NodeName = list_to_atom(NodeNameStr),
    server_sup:start_link(NodeName).

stop(_State) ->
    ok.
